package jwdt.xadmin.goods.action;

import jwdt.common.action.BaseAction;
import jwdt.xadmin.goods.service.GoodsUseManageService;

import com.ezerg.db.ext.PageUtil;
import com.ezerg.web.Form;
import com.ezerg.web.Module;
import com.ezerg.web.Page;
import com.ezerg.web.annotation.Controller;
import com.ezerg.web.annotation.RequestMapping;

@Controller("/xadmin/goods")
public class GoodsUseApplyAction extends BaseAction {
	
	GoodsUseManageService goodsUseManageService = app.getBean("GoodsUseManageService");
	
	@RequestMapping("/selectGoodsUseApplyList")
	public Page doSelectGoodsList(Form f,Module m)throws Exception{
		PageUtil pu = (PageUtil) f.copy2Class(PageUtil.class);
		return m.getWritePage(f, goodsUseManageService.selectGoodsUseApplyList(pu).toJson());
	}
}
